package com.sbl.bajw.pc.service;

import java.util.HashMap;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.sbl.bajw.common.MyBatisDao;
import com.sbl.bajw.mapper.SparkDao;

@Service
public class SparkService {
	
	@Resource
	private SparkDao dao;

	@Resource
	private MyBatisDao gridDao;
	
	public String getCarGrid(HashMap<String, Object> parm){
		String json = gridDao.selectPage(SparkDao.class, parm, "selectCar");
		return json;
	}
	
	public String getCameraHouseGrid(HashMap<String, Object> parm){
		String json = gridDao.selectPage(SparkDao.class, parm, "selectCameraHouse");
		return json;
	}
	
	public String getCameraGrid(HashMap<String, Object> parm){
		String json = gridDao.selectPage(SparkDao.class, parm, "selectCamera");
		return json;
	}
}
